<?php
$content = '<h1>Page not found</h1>';
$title = 'Page not found';
if ($data) {
    $data = $data->row_array();
    $content = $data['content'];
    $title = $data['title'];
}
?>
<html>
    <head>
        <title><?= $title?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>

    <body>
        <?= $content."\n" ?>
    </body>
</html>

